namespace 项目二;
class Phone
{
    public string 拥有者;
    public string 型号;
    public string 号码;
    public string 获取信息()
    {
        return $"拥有者:{拥有者}\n型号:{型号}\n号码:{号码}\n";
    }
    public Phone(string 拥有者,string 型号,string 号码)
    {
        this.拥有者=拥有者;
        this.型号=型号;
        this.号码=号码;
    }
    public Phone()
    {
        this.拥有者="";
        this.型号="";
        this.号码="";
    }

}